package cn.dbqn.service;

import cn.dbqn.dao.EmpinfoMapper;
import cn.dbqn.entity.Empinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmpinfoService {
    @Autowired
    private EmpinfoMapper empinfoMapper;

    public List<Empinfo> findALlYg(){
        return empinfoMapper.findAll();
    }

    public Empinfo ygxx(Integer eno){
        return empinfoMapper.ygxx(eno);
    }
}
